package TestInterfaceExercise;

public class TestTeacher2 {
    public static void main(String[] args) {

    }
}
interface Teacher2{
    void ready();//抽象方法；简写
    void   teach();
}
class ABC implements  Teacher2{ //实现类的类名不能重复

    @Override
    public void ready() {

    }

    @Override
    public void teach() {

    }
}